package com.cainiao.stock.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zby
 * @created 2024-06-24 19:06
 * @description ID生成器属性
 */
@Data
@Component
@ConfigurationProperties(prefix = "limiter.config")
public class RateLimiterProperties {
    /**
     * 允许每秒并发数量(访问接口数量)
     */
    private int concurrentNum;

}
